package io.renren.modules.sys.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

@Mapper
public interface SecurityUserRepository extends UserDetailsService {
    @Override
    UserDetails loadUserByUsername(@Param("username") String username) throws UsernameNotFoundException;
}
